import sys
import os
import socket
import time

host = "127.0.0.1"
port = 8001
def Test():
	s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
	s.connect( (host,port) )
	s.send("hello world \n ")
	print s.recv(1024)
	s.close()
		
Test()
